﻿using System;
using fastCSharp;

namespace diantou.web.management
{
    /// <summary>
    /// 比赛集合
    /// </summary>
    [fastCSharp.code.cSharp.webView(IsPage = false, IsPool = true)]
    partial class contestList : adminView<contestList>
    {
        /// <summary>
        /// 问题集合
        /// </summary>
        [fastCSharp.emit.webView.clearMember]
        private diantou.dataAccess.contest[] contests;
        /// <summary>
        /// 
        /// </summary>
        /// <param name="page"></param>
        /// <returns></returns>
        private bool loadView(int page)
        {
            contests = diantou.dataAccess.clientCache.Contest.Get(diantou.dataAccess.tcpCall.contest.getIds(pageInfo.Size = 40, pageInfo.Page = page, out pageInfo.Count));
            return true;
        }
    }
}
